<%@ page contentType="text/html" language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<jsp:include page="../include/_dwz_form_head.jsp" />
<style type="text/css">
ul.rightTools {
	float: right;
	display: block;
}

ul.rightTools li {
	float: left;
	display: block;
	margin-left: 5px
}
</style>
<div class="tabs">
	<div class="tabsHeader">
		<div class="tabsHeaderContent">
			<ul>
				<li><a href="javascript:;"><span>沟通方式维护</span> </a></li>
			</ul>
		</div>
	</div>
	<div class="tabsContent">
		<div>
		<div  class="pageHeader">
			<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="costomer/MaintainList" method="post">
		<div class="searchBar">
			<table class="searchContent">
			<tr>
				<td >
           			沟通方式：<input type="text" id="maintainName" name="b_T_Ufp_Maintain.maintainName" value="${b_T_Ufp_Maintain.maintainName}" />
				</td>
			</tr>
			</table>
        <div class="subBar">
			<ul>
				  <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                   		 搜索
                                </button>
                            </div>
                        </div>
                </li>
			</ul>
		</div>
	</div>
</form>
</div>
				<div class="panelBar">
					<ul class="toolBar">
						<li>
							<a class="add" href="costomer/MaintainDetail" target="navTab" rel="MaintainDetail"><span>添加</span> </a>
						</li>
						<li>
							<a title="确实要删除这些记录吗?" target="selectedTodo" rel="checkIds" href="costomer/MaintainDel" class="delete"><span>删除</span></a>
						</li>
						<li class="line">line</li>
					</ul>
				</div>
				<table class="table" width="1150" layoutH="156">
					<thead>
						<tr>
							<th width="22"><input type="checkbox" name="checkIds"
								group="checkIds" class="checkboxCtrl">
							</th>
							<th width="50">序号</th>
							<th width="100" orderField="maintain_name"
								<c:if test="${(pager.orderField)== 'maintain_name' }">class="${pager.orderDirection}"</c:if>>
								沟通方式</th>
							<th width="100" orderField="sort"
								<c:if test="${(pager.orderField)== 'sort' }">class="${pager.orderDirection}"</c:if>>
								排序号</th>
							<th width="60">操作</th>
						</tr>
					</thead>
					<tbody>

						<c:forEach items="${pager.pageRecords}" var="b_T_Ufp_Maintain"
							varStatus="s">
							<tr target="sid_user" rel="1">
								<input type="hidden" name="uuid" id="uuid"
									value="${b_T_Ufp_Maintain.maintainId}" />
								<td>
								<input name="checkIds" value="${b_T_Ufp_Maintain.maintainId}"
									type="checkbox">
								</td>
								<td>${s.count +pager.pageSize*(pager.currentPage-1)}</td>
								<td>${b_T_Ufp_Maintain.maintainName}</td>
								<td>${b_T_Ufp_Maintain.sort}</td>
								<td><a title="删除" target="ajaxTodo"
									href="costomer/MaintainDel?checkIds=${b_T_Ufp_Maintain.maintainId}"
									class="btnDel">删除</a> <a title="编辑" target="navTab"
									href="costomer/MaintainDetail?b_T_Ufp_Maintain.maintainId=${b_T_Ufp_Maintain.maintainId }"
									rel="editMsg" class="btnEdit">编辑</a></td>
							</tr>
						</c:forEach>
					</tbody> 
				</table>
				<div class="panelBar">
					<jsp:include page="../include/_dwz_form_bottom.jsp" />
				</div>
		</div>
	</div>
</div>